package com.example.blog.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Announcement {
   @TableId(type = IdType.AUTO)
   private Long id;
   private String releaseTime;
   private String content;
   private String publisher;
   private Integer statue;
   private String title;
}
